﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Fortuitus.Core;

namespace ConanLib
{
    class SpearmanCalculator : IRelationshipCalculator
    {
        public double CalcRelationship(Fortuitus.Core.IVector a, Fortuitus.Core.IVector b)
        {
            return Statistics.SpearmanCorrelationCoefficient(a, b);
        }
    }
}
